<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">
<head>
<title>AI音乐后台管理系统</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/assets/css/bootstrap.min.css" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/assets/css/font-awesome.min.css" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/assets/css/ace.min.css" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/assets/css/ace-rtl.min.css" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/assets/css/ace-skins.min.css" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/ace-extra.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/bootstrap.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/typeahead-bs2.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/jquery.slimscroll.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/jquery.easy-pie-chart.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/jquery.sparkline.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/flot/jquery.flot.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/flot/jquery.flot.pie.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/flot/jquery.flot.resize.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/ace-elements.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/assets/js/ace.min.js"></script>

<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/base.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/admin/adminmain.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/admin/adminFindSingerByPage.js"></script>
</head>

<body>
	<div class="navbar navbar-default" id="navbar">
		<%@include file="admintop.jsp"%>
	</div>
	<div class="main-container-inner">
		<a class="menu-toggler" id="menu-toggler" href="#"> <span
			class="menu-text"></span> </a>

		<div class="sidebar" id="sidebar">
			<%@include file="admincategory.jsp"%>
		</div>

		<div class="main-content">
			<div class="breadcrumbs" id="breadcrumbs">
				<ul class="breadcrumb">
					<li><i class="icon-home home-icon"></i> <a
						href="action?key=adminMainPageModel&adminname=${user.user_name }&adminpwd=${user.password}&user=${user}">首页</a>
					</li>
					<li class="active">AI音乐后台</li>
				</ul>
				<!-- .breadcrumb -->

				<div class="nav-search" id="nav-search">
					<form class="form-search"
						action="action?key=adminFindEstByInfoModel&lastname=${user.user_id }"
						method="post">
						<span class="input-icon"> <input type="text"
							placeholder="输入非法关键字回车查询评论" style="width: 300px;"
							class="nav-search-input" name="searchInput" id="searchInput"
							autocomplete="off" /> <i class="icon-search nav-search-icon"></i>
						</span>

					</form>
				</div>
				<!-- #nav-search -->
			</div>

			<div class="page-content">
				<div class="page-header">
					<h1>
						控制台 <small> <i class="icon-double-angle-right"></i> 查看 </small>
					</h1>
				</div>
				<!-- /.page-header -->

				<div class="row">
					<div class="col-xs-12">
						<!-- PAGE CONTENT BEGINS -->
						<div class="alert alert-block alert-success">
							<button type="button" class="close" data-dismiss="alert">
								<i class="icon-remove"></i>
							</button>

							<i class="icon-ok green"></i> 欢迎使用 <strong class="green">
								ai音乐后台管理系统 <small>(v1.2)</small> </strong>
						</div>

						<div class="page-content">
							<div class="page-header">
								<h1>添加歌手 <small> <i class="icon-double-angle-right"></i>
										歌手详细信息 </small>
								</h1>
							</div>
							<!-- /.page-header -->

							<div class="row">
								<div class="col-xs-12">
									<!-- PAGE CONTENT BEGINS -->

									<form class="form-horizontal" role="form" method="post"
										action="adminAddSinger.do">
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right"
												for="form-field-1"> 歌手名称 </label>

											<div class="col-sm-9">
												<input type="text" name="singer_name" id="form-field-1"
													placeholder="请输入歌手名称" class="col-xs-10 col-sm-5">
											</div>
										</div>

										<div class="space-4"></div>

										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right"
												for="form-field-1"> 国籍 </label>

											<div class="col-sm-9" style="width:362px;">
												<select class="form-control" id="nation1"
													name="nation">
													<option value="内地">内地</option>
													<option value="日韩">日韩</option>
													<option value="欧美">欧美</option>
													<option value="港台">港台</option>
													<option value="其他">其他</option>
												</select>
												<div id="singerHead"
													style="display:none; z-index:100; margin-left:-120px;width:810px;">
													<!-- <c:forEach begin="1" end="${imageLenght}" step="1"
														varStatus="status">
														<div id="${status.index }"
															style="float:left; width: 200px;height: 200px;filter:alpha(opacity=50);z-index: 3;cursor: hand;">
															<img src="image/singer/${status.index }.jpg"
																style="width: 200px; height: 200px;float: left;"
																onmouseover="showfilter(${status.index })"
																onmouseout="hidefilter(${status.index })"
																onmousedown="save_img(${status.index })" />
														</div>
													</c:forEach> -->
												</div>
											</div>
										</div>

										<div class="space-4"></div>

										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right">性别</label>

											<div class="col-sm-9">
												<label class="inline"> <input name="sex"
													type="radio" class="ace" checked="checked" value="男">
													<span class="lbl"> 男</span> </label> &nbsp; &nbsp; &nbsp; <label
													class="inline"> <input name="sex"
													type="radio" class="ace" value="女"> <span
													class="lbl"> 女</span> </label>
											</div>
										</div>

										<div class="space-4"></div>

										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right"
												for="form-field-comment">歌手简介</label>

											<div class="col-sm-9">
												<textarea id="form-field-comment" name="singer_info"></textarea>
											</div>
										</div>

										<div class="space-4"></div>
										<div class="form-group">
											<label class="col-sm-3 control-label no-padding-right"
												for="form-field-comment">歌手图片</label>

											<div class="col-sm-9" id="chooseSingerHead">
												<span class="input-icon input-icon-right"> <input
													type="text" id="singerHeadUrl" placeholder="择歌手图片"
													name="singer_head"> <i class="icon-leaf green"></i>
												</span>
											</div>
										</div>
										<div class="space-4"></div>
										<div class="clearfix form-actions">
											<div class="col-md-offset-3 col-md-9">
												<button class="btn btn-info" type="submit">
													<i class="icon-ok bigger-110"></i> 添加歌手
												</button>
												&nbsp; &nbsp; &nbsp;
												<button class="btn" type="reset">
													<i class="icon-undo bigger-110"></i> 清空填写
												</button>
												<c:if test="${!empty singermsg}">
												 	<span>${singermsg}</span> 
												</c:if>
											</div>
										</div>
										<div class="hr hr-24"></div>
									</form>
								</div>
								<!-- /.col -->
							</div>
							<!-- /.row -->
						</div>
						<!-- PAGE CONTENT ENDS -->

					</div>
					<!-- /.row -->
				</div>
				<!-- /.page-content -->
			</div>
			<!-- /.main-content -->
			<div class="ace-settings-container" id="ace-settings-container">
				<%@include file="adminfoot.jsp"%>
			</div>
			<!-- /#ace-settings-container -->
		</div>
		<!-- /.main-container-inner -->

		<a href="#" id="btn-scroll-up"
			class="btn-scroll-up btn btn-sm btn-inverse"> <i
			class="icon-double-angle-up icon-only bigger-110"></i> </a>
	</div>
</body>

</html>


